#include "db.h"
#include "hbot.h"
#include "sdefs.h"

CDatabase::CDatabase()
{
	
}

CDatabase::~CDatabase()
{

}

void CDatabase::SetError(const QString &error, const QString &databaseType, const QString &connectionIdentifier)
{
	m_Error = error;
	m_ConnectionIdentifier = connectionIdentifier;

	g_HBot.PrintConsole(PRINT_CONSOLE_GROUP_DATABASE, error, databaseType + " - OT(" + connectionIdentifier + ")", true);
}
